package com.yuzhi.master.system;

import com.google.gson.annotations.SerializedName;
import lombok.Data;

@Data
public class Result {
    private Data data;
    private String message;
    private Object paging;
    private Schema schema;
    private boolean success;
    private long timestamp;

    // Getter and Setter

    public  class Data {
        private String accessToken;

        private String expiresIn;

        private String userName;

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        // Getter and Setter
        private String code;
        public String getAccessToken() {
            return accessToken;
        }

        public void setAccessToken(String accessToken) {
            this.accessToken = accessToken;
        }

        public String getExpiresIn() {
            return expiresIn;
        }

        public void setExpiresIn(String expiresIn) {
            this.expiresIn = expiresIn;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }
    }

    public  class Schema {
        private String accessToken;
        private String expiresIn;

        // Getter and Setter
    }
}
